package cn.kgc.countservice.service;

import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
import java.util.Map;
import java.util.Set;

public interface AddressService {
    public Integer addOneAddress(Integer newsId, String address);
    public Map<Integer, Integer> getAllCounts(List<Integer> list);
    public List<Integer> getHotNews(List<Integer> newsIdList);
    public long zSetRemove(String key, Integer min, Integer max);
    public void setHot(String key, String value);
    public String getHot(String key);
}
